package com.lieve.bpm.common.extend.history;

import org.activiti.engine.impl.history.DefaultHistoryManager;
import org.activiti.engine.impl.interceptor.Session;
import org.activiti.engine.impl.persistence.DefaultHistoryManagerSessionFactory;

/**
 * @author sunlijiang
 * @date 2020/5/3
 */
public class LieveProcessHistoryManagerSessionFactory extends DefaultHistoryManagerSessionFactory {

    @Override
    public Session openSession() {
        // return super.openSession();
        return new LieveHistoryManager();
    }
}
